package com.client.service.impl;

import com.client.pojo.Users;
import com.client.dao.UsersDao;
import com.client.service.UsersService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 平台用户信息表 服务实现类
 * </p>
 *
 * @author ckick
 * @since 2025-09-20 08:28:54
 */
@Service
public class UsersServiceImpl extends ServiceImpl<UsersDao, Users> implements UsersService {
    @Autowired
    private UsersDao usersDao;
    @Override
    public Object updateEmail(Integer userId, String email) {
        return usersDao.updateEmail(userId,email);
    }

    @Override
    public void setNewPassword(Integer userId, String newPassword) {
        usersDao.setNewPassword(userId,newPassword);
    }
}
